class AddCitationTypeData < ActiveRecord::Migration
  def self.up
    down
    CitationType.create(:title => "Article", :locale => "文章", :about => "期刊论文文章")
    CitationType.create(:title => "Resource online", :locale => "网络资源", :about => "来源于网络的信息资源")
    CitationType.create(:title => "Book", :locale => "图书", :about => "正式出版的图书")
  end

  def self.down
    CitationType.delete_all
  end
end
